secure_protocol = (RAILS_ENV == 'production' || RAILS_ENV == 'stage') ? https : 'http'
resource	session_file_name.singularize.to_sym,
					:controller => session_file_path,
					:only => [:new, :create, :destroy],
					:requirements => { :protocol => secure_protocol }
resources	controller_file_name.to_sym,
					:controller => controller_file_path,
					:collection => { :signup => :get},
					:requirements => { :protocol => secure_protocol }